﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="admin_dashboard.aspx.cs" Inherits="Lawyer.Web.Admin.admin_dashboard" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="SideBar" runat="server">
    <nav>
    <a class="chevron" href="#">»</a>
    <ul>
        <li class="current"><a href="admin_dashboard.aspx">Over View</a></li>
        <li><a href="admin_postlist.aspx">Announcement</a></li>
        <li ><a href="admin_archivelist.aspx">Case</a>
        <li ><a href="admin_activity.aspx">Activity</a>
        <li ><a href="admin_userlist.aspx">Case Worker</a>
        <li ><a href="admin_filelist.aspx">Resouce</a>
        <li ><a href="admin_customlist.aspx">Contact</a>
        <li ><a href="admin_agencylist.aspx">Agency</a>
    </ul>
</nav>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="mainContent" runat="server">
<div class="main-content">
        <header>
                            <ul class="action-buttons clearfix">
<%--                                <li><a href="../webhelper.aspx" class="zoombox button help"  data-icon-primary="ui-icon-help" data-icon-only="true" >Help</a></li>
--%>                            </ul>
                            <h2>
                                Overview
                            </h2>
                        </header>
        <section class="container_6 clearfix">
                        
                            <div class="grid_6">
                                <div class="ui-widget message info closeable">
                                    <div class="ui-state-highlight ui-corner-all"> 
                                        <p>
                                            <span class="ui-icon ui-icon-info"></span>
                                            This is your recently activities.
                                        </p>
                                    </div>
                                </div>
                            </div>
                            
                            <div class="grid_6 leading">
                                <fieldset class="fieldset-buttons ui-corner-all">
                                    <legend class="buttonset-legend">
                                        <span id="dashboardview-filter" class="buttonset">
                                            <input type="radio" name="dashboardview" id="dashboardview-todo" value=".dash-todo" checked /><label for="dashboardview-todo">Todo</label>
                                            <input type="radio" name="dashboardview" id="dashboardview-stastatics" value=".dash-stastatics" /><label for="dashboardview-stastatics">Stastatics</label>
                                            <input type="radio" name="dashboardview" id="dashboardview-archive" value=".dash-archive" /><label for="dashboardview-archive">Case</label>
                                            <input type="radio" name="dashboardview" id="dashboardview-activity" value=".dash-activity" /><label for="dashboardview-activity">Activity</label>
                                            <input type="radio" name="dashboardview" id="dashboardview-all" value="*" /><label for="dashboardview-all">All</label>
                                        </span>
                                    </legend>
                                    <ul class="isotope-widgets isotope-container">
                                        <asp:Repeater ID="rptBoxAlertList" runat="server">
                                            <ItemTemplate>
                                                <li class="dash-alert">
                                            <a class="button-red ui-corner-all" href="#">
                                                <strong><%#Eval("Type")=="10"?"Archive":"Activity" %></strong>
                                                <span><%#Eval("Title") %> <%#Eval("CreatedDate") %></span>
                                            </a>
                                        </li>
                                            </ItemTemplate>
                                        </asp:Repeater>
                                        <asp:Repeater ID="rptBoxTodoList" runat="server">
                                            <ItemTemplate>
                                                <li class="dash-todo">
                                                    <a class="button-orange ui-corner-all" href="#">
                                                        <strong><%#Eval("StartDate","{0:d/M/yyyy}") %></strong>
                                                        <span><%#Eval("Title") %></span>
                                                    </a>
                                                </li>
                                            </ItemTemplate>
                                        </asp:Repeater>
                                        <asp:Repeater ID="rptTodoList" runat="server">
                                            <ItemTemplate>
                                                <li class="dash-todo">
                                            <a class="button-<%#Eval("Color") %> ui-corner-all" href="#">
                                                <strong><%#Eval("Count") %></strong>
                                                <span>Activity:<%#Eval("Title") %></span>
                                            </a>
                                        </li>
                                            </ItemTemplate>
                                        </asp:Repeater>
                                        <asp:Repeater ID="rptStasticsList" runat="server">
                                            <ItemTemplate>
                                                <li class="dash-stastatics">
                                            <a class="button-orange ui-corner-all" href="#">
                                                <strong><%#Eval("Count") %></strong>
                                                <span><%#Eval("Title") %></span>
                                            </a>
                                        </li>
                                            </ItemTemplate>
                                        </asp:Repeater>
                                         <asp:Repeater ID="rptArchiveList" runat="server">
                                            <ItemTemplate>
                                                <li class="dash-archive">
                                            <a class="button-<%#Eval("Color") %> ui-corner-all" href="#">
                                                <strong><%#Eval("Count") %></strong>
                                                <span>Case:<%#Eval("Title") %></span>
                                            </a>
                                        </li>
                                            </ItemTemplate>
                                        </asp:Repeater>
                                        <asp:Repeater ID="rptActivity" runat="server">
                                            <ItemTemplate>
                                                <li class="dash-activity">
                                            <a class="button-<%#Eval("Color") %> ui-corner-all" href="#">
                                                <strong><%#Eval("Count") %></strong>
                                                <span>Activity:<%#Eval("Title") %></span>
                                            </a>
                                        </li>
                                            </ItemTemplate>
                                        </asp:Repeater>
                                        

                                    </ul>
                                </fieldset>
                            </div>
                            
                            <div class="clear"></div>
                            
                            <div class="grid_6 leading">
                                <div class="ui-widget message info closeable">
                                    <div class="ui-state-highlight ui-corner-all"> 
                                        <p>
                                            <span class="ui-icon ui-icon-info"></span>
                                            <strong>System Announcements And Your Alerts</strong> 
                                        </p>
                                    </div>
                                </div>
                            </div>
                            
                            <div class="clear"></div>
                            
                            <div class="sortable leading clearfix">
                                <div class="grid_3 portlet collapsible" id="widget-orders" draggable="true">
                                    <header>
                                        <h2>Announcement</h2>
                                    </header>
                                    <section class="no-padding">
                                        <table class="full">
                                            <tbody>
                                            <asp:Repeater ID="rptPostList" runat="server">
                                                <ItemTemplate>
                                                    <tr>
                                                        <td class="zoombox"><a href='admin_postshow.aspx?id=<%#Eval("PostID") %>'><%#Eval("Tile") %></a></td>
                                                        <td class="ar"><%#Eval("CreatedDate","{0:yyyy-M-d}") %></td>
                                                    </tr>
                                                </ItemTemplate>
                                            </asp:Repeater>
 
                                            </tbody>
                                        </table>
                                    </section>
                                </div>
                                
                                <div class="grid_2 portlet collapsible" id="widget-tickets" draggable="true">
                                    <header>
                                        <h2>Case</h2>
                                    </header>
                                    <section class="no-padding">
                                        <table class="full">
                                            <tbody>
                                            <asp:Repeater ID="rptArchiveStaticList" runat="server">
                                                <ItemTemplate>
                                                    <tr>
                                                        <td>Case Status:<a href="#"><%#Eval("Title") %></a></td>
                                                        <td class="ar"><%#Eval("Count") %></td>
                                                    </tr>
                                                </ItemTemplate>
                                            </asp:Repeater>
                                            </tbody>
                                        </table>
                                    </section>
                                </div>
                                
                                <div class="grid_2 portlet collapsible" id="Div1" draggable="true" class="display:none;">
                                    <header>
                                        <h2>Activity</h2>
                                    </header>
                                    <section class="no-padding">
                                        <table class="full">
                                            <tbody>
                                            <asp:Repeater ID="rptActivityStaticList" runat="server">
                                                <ItemTemplate>
                                                    <tr>
                                                        <td>Activity Status:<a href="#"><%#Eval("Title") %></a></td>
                                                        <td class="ar"><%#Eval("Count") %></td>
                                                    </tr>
                                                </ItemTemplate>
                                            </asp:Repeater>
                                            </tbody>
                                        </table>
                                    </section>
                                </div>
                            </div>
                            
                            <div class="clear"></div>
                            
                            
                        </section>
    </div>
</asp:Content>
